﻿<template id="wtmtpl-searchpanel">
	<div class='layui-collapse wtm-searchpanel' lay-filter='div{{d.id}}' id='div{{d.id}}'>
		<div class='layui-colla-item'>
			<div class='layui-colla-title wtm-colla-title'>

				<div class='wtm-colla-title-text'>{{d.title}}</div>

				<div class='wtm-colla-title-btns'>

					{{# if(d.hasMore=='true'){}}
					<a class='layui-btn layui-btn-primary layui-btn-xs wtm-more'>
						<i class='layui-icon layui-icon-more' />
						{{d.more}}
					</a>
					{{# } }}

					<a class='layui-btn layui-btn-normal layui-btn-xs' wtm-searchbtn IsSearchButton>
						<i class='layui-icon layui-icon-search' />
						{{d.searchText}}
					</a>
					{{# if(d.resetBtn){ }}
					<a class='layui-btn layui-btn-primary layui-btn-xs' wtm-resetbtn>{{d.resetText}}</a>
					{{# } }}
				</div>

			</div>

			{{# if(d.show){}}
			<div class='layui-colla-content layui-show' />
			{{# }else{ }}
			<div class='layui-colla-content' />
			{{# } }}

		</div>
	</div>
</template>